textract-2018-06-27.min.json 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341
  1. {
  2. "version": "2.0",
  3. "metadata": {
  4. "apiVersion": "2018-06-27",
  5. "endpointPrefix": "textract",
  6. "jsonVersion": "1.1",
  7. "protocol": "json",
  8. "serviceFullName": "Amazon Textract",
  9. "serviceId": "Textract",
  10. "signatureVersion": "v4",
  11. "targetPrefix": "Textract",
  12. "uid": "textract-2018-06-27"
  13. },
  14. "operations": {
  15. "AnalyzeDocument": {
  16. "input": {
  17. "type": "structure",
  18. "required": [
  19. "Document",
  20. "FeatureTypes"
  21. ],
  22. "members": {
  23. "Document": {
  24. "shape": "S2"
  25. },
  26. "FeatureTypes": {
  27. "shape": "S8"
  28. },
  29. "HumanLoopConfig": {
  30. "type": "structure",
  31. "required": [
  32. "HumanLoopName",
  33. "FlowDefinitionArn"
  34. ],
  35. "members": {
  36. "HumanLoopName": {},
  37. "FlowDefinitionArn": {},
  38. "DataAttributes": {
  39. "type": "structure",
  40. "members": {
  41. "ContentClassifiers": {
  42. "type": "list",
  43. "member": {}
  44. }
  45. }
  46. }
  47. }
  48. },
  49. "QueriesConfig": {
  50. "shape": "Sg"
  51. },
  52. "AdaptersConfig": {
  53. "shape": "Sm"
  54. }
  55. }
  56. },
  57. "output": {
  58. "type": "structure",
  59. "members": {
  60. "DocumentMetadata": {
  61. "shape": "Su"
  62. },
  63. "Blocks": {
  64. "shape": "Sw"
  65. },
  66. "HumanLoopActivationOutput": {
  67. "type": "structure",
  68. "members": {
  69. "HumanLoopArn": {},
  70. "HumanLoopActivationReasons": {
  71. "type": "list",
  72. "member": {}
  73. },
  74. "HumanLoopActivationConditionsEvaluationResults": {
  75. "jsonvalue": true
  76. }
  77. }
  78. },
  79. "AnalyzeDocumentModelVersion": {}
  80. }
  81. }
  82. },
  83. "AnalyzeExpense": {
  84. "input": {
  85. "type": "structure",
  86. "required": [
  87. "Document"
  88. ],
  89. "members": {
  90. "Document": {
  91. "shape": "S2"
  92. }
  93. }
  94. },
  95. "output": {
  96. "type": "structure",
  97. "members": {
  98. "DocumentMetadata": {
  99. "shape": "Su"
  100. },
  101. "ExpenseDocuments": {
  102. "shape": "S1m"
  103. }
  104. }
  105. }
  106. },
  107. "AnalyzeID": {
  108. "input": {
  109. "type": "structure",
  110. "required": [
  111. "DocumentPages"
  112. ],
  113. "members": {
  114. "DocumentPages": {
  115. "type": "list",
  116. "member": {
  117. "shape": "S2"
  118. }
  119. }
  120. }
  121. },
  122. "output": {
  123. "type": "structure",
  124. "members": {
  125. "IdentityDocuments": {
  126. "type": "list",
  127. "member": {
  128. "shape": "S24"
  129. }
  130. },
  131. "DocumentMetadata": {
  132. "shape": "Su"
  133. },
  134. "AnalyzeIDModelVersion": {}
  135. }
  136. }
  137. },
  138. "CreateAdapter": {
  139. "input": {
  140. "type": "structure",
  141. "required": [
  142. "AdapterName",
  143. "FeatureTypes"
  144. ],
  145. "members": {
  146. "AdapterName": {},
  147. "ClientRequestToken": {
  148. "idempotencyToken": true
  149. },
  150. "Description": {},
  151. "FeatureTypes": {
  152. "shape": "S8"
  153. },
  154. "AutoUpdate": {},
  155. "Tags": {
  156. "shape": "S2f"
  157. }
  158. }
  159. },
  160. "output": {
  161. "type": "structure",
  162. "members": {
  163. "AdapterId": {}
  164. }
  165. },
  166. "idempotent": true
  167. },
  168. "CreateAdapterVersion": {
  169. "input": {
  170. "type": "structure",
  171. "required": [
  172. "AdapterId",
  173. "DatasetConfig",
  174. "OutputConfig"
  175. ],
  176. "members": {
  177. "AdapterId": {},
  178. "ClientRequestToken": {
  179. "idempotencyToken": true
  180. },
  181. "DatasetConfig": {
  182. "shape": "S2k"
  183. },
  184. "KMSKeyId": {},
  185. "OutputConfig": {
  186. "shape": "S2m"
  187. },
  188. "Tags": {
  189. "shape": "S2f"
  190. }
  191. }
  192. },
  193. "output": {
  194. "type": "structure",
  195. "members": {
  196. "AdapterId": {},
  197. "AdapterVersion": {}
  198. }
  199. },
  200. "idempotent": true
  201. },
  202. "DeleteAdapter": {
  203. "input": {
  204. "type": "structure",
  205. "required": [
  206. "AdapterId"
  207. ],
  208. "members": {
  209. "AdapterId": {}
  210. }
  211. },
  212. "output": {
  213. "type": "structure",
  214. "members": {}
  215. },
  216. "idempotent": true
  217. },
  218. "DeleteAdapterVersion": {
  219. "input": {
  220. "type": "structure",
  221. "required": [
  222. "AdapterId",
  223. "AdapterVersion"
  224. ],
  225. "members": {
  226. "AdapterId": {},
  227. "AdapterVersion": {}
  228. }
  229. },
  230. "output": {
  231. "type": "structure",
  232. "members": {}
  233. },
  234. "idempotent": true
  235. },
  236. "DetectDocumentText": {
  237. "input": {
  238. "type": "structure",
  239. "required": [
  240. "Document"
  241. ],
  242. "members": {
  243. "Document": {
  244. "shape": "S2"
  245. }
  246. }
  247. },
  248. "output": {
  249. "type": "structure",
  250. "members": {
  251. "DocumentMetadata": {
  252. "shape": "Su"
  253. },
  254. "Blocks": {
  255. "shape": "Sw"
  256. },
  257. "DetectDocumentTextModelVersion": {}
  258. }
  259. }
  260. },
  261. "GetAdapter": {
  262. "input": {
  263. "type": "structure",
  264. "required": [
  265. "AdapterId"
  266. ],
  267. "members": {
  268. "AdapterId": {}
  269. }
  270. },
  271. "output": {
  272. "type": "structure",
  273. "members": {
  274. "AdapterId": {},
  275. "AdapterName": {},
  276. "CreationTime": {
  277. "type": "timestamp"
  278. },
  279. "Description": {},
  280. "FeatureTypes": {
  281. "shape": "S8"
  282. },
  283. "AutoUpdate": {},
  284. "Tags": {
  285. "shape": "S2f"
  286. }
  287. }
  288. }
  289. },
  290. "GetAdapterVersion": {
  291. "input": {
  292. "type": "structure",
  293. "required": [
  294. "AdapterId",
  295. "AdapterVersion"
  296. ],
  297. "members": {
  298. "AdapterId": {},
  299. "AdapterVersion": {}
  300. }
  301. },
  302. "output": {
  303. "type": "structure",
  304. "members": {
  305. "AdapterId": {},
  306. "AdapterVersion": {},
  307. "CreationTime": {
  308. "type": "timestamp"
  309. },
  310. "FeatureTypes": {
  311. "shape": "S8"
  312. },
  313. "Status": {},
  314. "StatusMessage": {},
  315. "DatasetConfig": {
  316. "shape": "S2k"
  317. },
  318. "KMSKeyId": {},
  319. "OutputConfig": {
  320. "shape": "S2m"
  321. },
  322. "EvaluationMetrics": {
  323. "type": "list",
  324. "member": {
  325. "type": "structure",
  326. "members": {
  327. "Baseline": {
  328. "shape": "S33"
  329. },
  330. "AdapterVersion": {
  331. "shape": "S33"
  332. },
  333. "FeatureType": {}
  334. }
  335. }
  336. },
  337. "Tags": {
  338. "shape": "S2f"
  339. }
  340. }
  341. }
  342. },
  343. "GetDocumentAnalysis": {
  344. "input": {
  345. "type": "structure",
  346. "required": [
  347. "JobId"
  348. ],
  349. "members": {
  350. "JobId": {},
  351. "MaxResults": {
  352. "type": "integer"
  353. },
  354. "NextToken": {}
  355. }
  356. },
  357. "output": {
  358. "type": "structure",
  359. "members": {
  360. "DocumentMetadata": {
  361. "shape": "Su"
  362. },
  363. "JobStatus": {},
  364. "NextToken": {},
  365. "Blocks": {
  366. "shape": "Sw"
  367. },
  368. "Warnings": {
  369. "shape": "S3a"
  370. },
  371. "StatusMessage": {},
  372. "AnalyzeDocumentModelVersion": {}
  373. }
  374. }
  375. },
  376. "GetDocumentTextDetection": {
  377. "input": {
  378. "type": "structure",
  379. "required": [
  380. "JobId"
  381. ],
  382. "members": {
  383. "JobId": {},
  384. "MaxResults": {
  385. "type": "integer"
  386. },
  387. "NextToken": {}
  388. }
  389. },
  390. "output": {
  391. "type": "structure",
  392. "members": {
  393. "DocumentMetadata": {
  394. "shape": "Su"
  395. },
  396. "JobStatus": {},
  397. "NextToken": {},
  398. "Blocks": {
  399. "shape": "Sw"
  400. },
  401. "Warnings": {
  402. "shape": "S3a"
  403. },
  404. "StatusMessage": {},
  405. "DetectDocumentTextModelVersion": {}
  406. }
  407. }
  408. },
  409. "GetExpenseAnalysis": {
  410. "input": {
  411. "type": "structure",
  412. "required": [
  413. "JobId"
  414. ],
  415. "members": {
  416. "JobId": {},
  417. "MaxResults": {
  418. "type": "integer"
  419. },
  420. "NextToken": {}
  421. }
  422. },
  423. "output": {
  424. "type": "structure",
  425. "members": {
  426. "DocumentMetadata": {
  427. "shape": "Su"
  428. },
  429. "JobStatus": {},
  430. "NextToken": {},
  431. "ExpenseDocuments": {
  432. "shape": "S1m"
  433. },
  434. "Warnings": {
  435. "shape": "S3a"
  436. },
  437. "StatusMessage": {},
  438. "AnalyzeExpenseModelVersion": {}
  439. }
  440. }
  441. },
  442. "GetLendingAnalysis": {
  443. "input": {
  444. "type": "structure",
  445. "required": [
  446. "JobId"
  447. ],
  448. "members": {
  449. "JobId": {},
  450. "MaxResults": {
  451. "type": "integer"
  452. },
  453. "NextToken": {}
  454. }
  455. },
  456. "output": {
  457. "type": "structure",
  458. "members": {
  459. "DocumentMetadata": {
  460. "shape": "Su"
  461. },
  462. "JobStatus": {},
  463. "NextToken": {},
  464. "Results": {
  465. "type": "list",
  466. "member": {
  467. "type": "structure",
  468. "members": {
  469. "Page": {
  470. "type": "integer"
  471. },
  472. "PageClassification": {
  473. "type": "structure",
  474. "required": [
  475. "PageType",
  476. "PageNumber"
  477. ],
  478. "members": {
  479. "PageType": {
  480. "shape": "S3o"
  481. },
  482. "PageNumber": {
  483. "shape": "S3o"
  484. }
  485. }
  486. },
  487. "Extractions": {
  488. "type": "list",
  489. "member": {
  490. "type": "structure",
  491. "members": {
  492. "LendingDocument": {
  493. "type": "structure",
  494. "members": {
  495. "LendingFields": {
  496. "type": "list",
  497. "member": {
  498. "type": "structure",
  499. "members": {
  500. "Type": {},
  501. "KeyDetection": {
  502. "shape": "S3v"
  503. },
  504. "ValueDetections": {
  505. "type": "list",
  506. "member": {
  507. "shape": "S3v"
  508. }
  509. }
  510. }
  511. }
  512. },
  513. "SignatureDetections": {
  514. "type": "list",
  515. "member": {
  516. "type": "structure",
  517. "members": {
  518. "Confidence": {
  519. "type": "float"
  520. },
  521. "Geometry": {
  522. "shape": "S12"
  523. }
  524. }
  525. }
  526. }
  527. }
  528. },
  529. "ExpenseDocument": {
  530. "shape": "S1n"
  531. },
  532. "IdentityDocument": {
  533. "shape": "S24"
  534. }
  535. }
  536. }
  537. }
  538. }
  539. }
  540. },
  541. "Warnings": {
  542. "shape": "S3a"
  543. },
  544. "StatusMessage": {},
  545. "AnalyzeLendingModelVersion": {}
  546. }
  547. }
  548. },
  549. "GetLendingAnalysisSummary": {
  550. "input": {
  551. "type": "structure",
  552. "required": [
  553. "JobId"
  554. ],
  555. "members": {
  556. "JobId": {}
  557. }
  558. },
  559. "output": {
  560. "type": "structure",
  561. "members": {
  562. "DocumentMetadata": {
  563. "shape": "Su"
  564. },
  565. "JobStatus": {},
  566. "Summary": {
  567. "type": "structure",
  568. "members": {
  569. "DocumentGroups": {
  570. "type": "list",
  571. "member": {
  572. "type": "structure",
  573. "members": {
  574. "Type": {},
  575. "SplitDocuments": {
  576. "type": "list",
  577. "member": {
  578. "type": "structure",
  579. "members": {
  580. "Index": {
  581. "type": "integer"
  582. },
  583. "Pages": {
  584. "type": "list",
  585. "member": {
  586. "type": "integer"
  587. }
  588. }
  589. }
  590. }
  591. },
  592. "DetectedSignatures": {
  593. "type": "list",
  594. "member": {
  595. "type": "structure",
  596. "members": {
  597. "Page": {
  598. "type": "integer"
  599. }
  600. }
  601. }
  602. },
  603. "UndetectedSignatures": {
  604. "type": "list",
  605. "member": {
  606. "type": "structure",
  607. "members": {
  608. "Page": {
  609. "type": "integer"
  610. }
  611. }
  612. }
  613. }
  614. }
  615. }
  616. },
  617. "UndetectedDocumentTypes": {
  618. "type": "list",
  619. "member": {}
  620. }
  621. }
  622. },
  623. "Warnings": {
  624. "shape": "S3a"
  625. },
  626. "StatusMessage": {},
  627. "AnalyzeLendingModelVersion": {}
  628. }
  629. }
  630. },
  631. "ListAdapterVersions": {
  632. "input": {
  633. "type": "structure",
  634. "members": {
  635. "AdapterId": {},
  636. "AfterCreationTime": {
  637. "type": "timestamp"
  638. },
  639. "BeforeCreationTime": {
  640. "type": "timestamp"
  641. },
  642. "MaxResults": {
  643. "type": "integer"
  644. },
  645. "NextToken": {}
  646. }
  647. },
  648. "output": {
  649. "type": "structure",
  650. "members": {
  651. "AdapterVersions": {
  652. "type": "list",
  653. "member": {
  654. "type": "structure",
  655. "members": {
  656. "AdapterId": {},
  657. "AdapterVersion": {},
  658. "CreationTime": {
  659. "type": "timestamp"
  660. },
  661. "FeatureTypes": {
  662. "shape": "S8"
  663. },
  664. "Status": {},
  665. "StatusMessage": {}
  666. }
  667. }
  668. },
  669. "NextToken": {}
  670. }
  671. }
  672. },
  673. "ListAdapters": {
  674. "input": {
  675. "type": "structure",
  676. "members": {
  677. "AfterCreationTime": {
  678. "type": "timestamp"
  679. },
  680. "BeforeCreationTime": {
  681. "type": "timestamp"
  682. },
  683. "MaxResults": {
  684. "type": "integer"
  685. },
  686. "NextToken": {}
  687. }
  688. },
  689. "output": {
  690. "type": "structure",
  691. "members": {
  692. "Adapters": {
  693. "type": "list",
  694. "member": {
  695. "type": "structure",
  696. "members": {
  697. "AdapterId": {},
  698. "AdapterName": {},
  699. "CreationTime": {
  700. "type": "timestamp"
  701. },
  702. "FeatureTypes": {
  703. "shape": "S8"
  704. }
  705. }
  706. }
  707. },
  708. "NextToken": {}
  709. }
  710. }
  711. },
  712. "ListTagsForResource": {
  713. "input": {
  714. "type": "structure",
  715. "required": [
  716. "ResourceARN"
  717. ],
  718. "members": {
  719. "ResourceARN": {}
  720. }
  721. },
  722. "output": {
  723. "type": "structure",
  724. "members": {
  725. "Tags": {
  726. "shape": "S2f"
  727. }
  728. }
  729. }
  730. },
  731. "StartDocumentAnalysis": {
  732. "input": {
  733. "type": "structure",
  734. "required": [
  735. "DocumentLocation",
  736. "FeatureTypes"
  737. ],
  738. "members": {
  739. "DocumentLocation": {
  740. "shape": "S4o"
  741. },
  742. "FeatureTypes": {
  743. "shape": "S8"
  744. },
  745. "ClientRequestToken": {},
  746. "JobTag": {},
  747. "NotificationChannel": {
  748. "shape": "S4q"
  749. },
  750. "OutputConfig": {
  751. "shape": "S2m"
  752. },
  753. "KMSKeyId": {},
  754. "QueriesConfig": {
  755. "shape": "Sg"
  756. },
  757. "AdaptersConfig": {
  758. "shape": "Sm"
  759. }
  760. }
  761. },
  762. "output": {
  763. "type": "structure",
  764. "members": {
  765. "JobId": {}
  766. }
  767. }
  768. },
  769. "StartDocumentTextDetection": {
  770. "input": {
  771. "type": "structure",
  772. "required": [
  773. "DocumentLocation"
  774. ],
  775. "members": {
  776. "DocumentLocation": {
  777. "shape": "S4o"
  778. },
  779. "ClientRequestToken": {},
  780. "JobTag": {},
  781. "NotificationChannel": {
  782. "shape": "S4q"
  783. },
  784. "OutputConfig": {
  785. "shape": "S2m"
  786. },
  787. "KMSKeyId": {}
  788. }
  789. },
  790. "output": {
  791. "type": "structure",
  792. "members": {
  793. "JobId": {}
  794. }
  795. }
  796. },
  797. "StartExpenseAnalysis": {
  798. "input": {
  799. "type": "structure",
  800. "required": [
  801. "DocumentLocation"
  802. ],
  803. "members": {
  804. "DocumentLocation": {
  805. "shape": "S4o"
  806. },
  807. "ClientRequestToken": {},
  808. "JobTag": {},
  809. "NotificationChannel": {
  810. "shape": "S4q"
  811. },
  812. "OutputConfig": {
  813. "shape": "S2m"
  814. },
  815. "KMSKeyId": {}
  816. }
  817. },
  818. "output": {
  819. "type": "structure",
  820. "members": {
  821. "JobId": {}
  822. }
  823. }
  824. },
  825. "StartLendingAnalysis": {
  826. "input": {
  827. "type": "structure",
  828. "required": [
  829. "DocumentLocation"
  830. ],
  831. "members": {
  832. "DocumentLocation": {
  833. "shape": "S4o"
  834. },
  835. "ClientRequestToken": {},
  836. "JobTag": {},
  837. "NotificationChannel": {
  838. "shape": "S4q"
  839. },
  840. "OutputConfig": {
  841. "shape": "S2m"
  842. },
  843. "KMSKeyId": {}
  844. }
  845. },
  846. "output": {
  847. "type": "structure",
  848. "members": {
  849. "JobId": {}
  850. }
  851. }
  852. },
  853. "TagResource": {
  854. "input": {
  855. "type": "structure",
  856. "required": [
  857. "ResourceARN",
  858. "Tags"
  859. ],
  860. "members": {
  861. "ResourceARN": {},
  862. "Tags": {
  863. "shape": "S2f"
  864. }
  865. }
  866. },
  867. "output": {
  868. "type": "structure",
  869. "members": {}
  870. }
  871. },
  872. "UntagResource": {
  873. "input": {
  874. "type": "structure",
  875. "required": [
  876. "ResourceARN",
  877. "TagKeys"
  878. ],
  879. "members": {
  880. "ResourceARN": {},
  881. "TagKeys": {
  882. "type": "list",
  883. "member": {}
  884. }
  885. }
  886. },
  887. "output": {
  888. "type": "structure",
  889. "members": {}
  890. }
  891. },
  892. "UpdateAdapter": {
  893. "input": {
  894. "type": "structure",
  895. "required": [
  896. "AdapterId"
  897. ],
  898. "members": {
  899. "AdapterId": {},
  900. "Description": {},
  901. "AdapterName": {},
  902. "AutoUpdate": {}
  903. }
  904. },
  905. "output": {
  906. "type": "structure",
  907. "members": {
  908. "AdapterId": {},
  909. "AdapterName": {},
  910. "CreationTime": {
  911. "type": "timestamp"
  912. },
  913. "Description": {},
  914. "FeatureTypes": {
  915. "shape": "S8"
  916. },
  917. "AutoUpdate": {}
  918. }
  919. }
  920. }
  921. },
  922. "shapes": {
  923. "S2": {
  924. "type": "structure",
  925. "members": {
  926. "Bytes": {
  927. "type": "blob"
  928. },
  929. "S3Object": {
  930. "shape": "S4"
  931. }
  932. }
  933. },
  934. "S4": {
  935. "type": "structure",
  936. "members": {
  937. "Bucket": {},
  938. "Name": {},
  939. "Version": {}
  940. }
  941. },
  942. "S8": {
  943. "type": "list",
  944. "member": {}
  945. },
  946. "Sg": {
  947. "type": "structure",
  948. "required": [
  949. "Queries"
  950. ],
  951. "members": {
  952. "Queries": {
  953. "type": "list",
  954. "member": {
  955. "shape": "Si"
  956. }
  957. }
  958. }
  959. },
  960. "Si": {
  961. "type": "structure",
  962. "required": [
  963. "Text"
  964. ],
  965. "members": {
  966. "Text": {},
  967. "Alias": {},
  968. "Pages": {
  969. "type": "list",
  970. "member": {}
  971. }
  972. }
  973. },
  974. "Sm": {
  975. "type": "structure",
  976. "required": [
  977. "Adapters"
  978. ],
  979. "members": {
  980. "Adapters": {
  981. "type": "list",
  982. "member": {
  983. "type": "structure",
  984. "required": [
  985. "AdapterId",
  986. "Version"
  987. ],
  988. "members": {
  989. "AdapterId": {},
  990. "Pages": {
  991. "type": "list",
  992. "member": {}
  993. },
  994. "Version": {}
  995. }
  996. }
  997. }
  998. }
  999. },
  1000. "Su": {
  1001. "type": "structure",
  1002. "members": {
  1003. "Pages": {
  1004. "type": "integer"
  1005. }
  1006. }
  1007. },
  1008. "Sw": {
  1009. "type": "list",
  1010. "member": {
  1011. "type": "structure",
  1012. "members": {
  1013. "BlockType": {},
  1014. "Confidence": {
  1015. "type": "float"
  1016. },
  1017. "Text": {},
  1018. "TextType": {},
  1019. "RowIndex": {
  1020. "type": "integer"
  1021. },
  1022. "ColumnIndex": {
  1023. "type": "integer"
  1024. },
  1025. "RowSpan": {
  1026. "type": "integer"
  1027. },
  1028. "ColumnSpan": {
  1029. "type": "integer"
  1030. },
  1031. "Geometry": {
  1032. "shape": "S12"
  1033. },
  1034. "Id": {},
  1035. "Relationships": {
  1036. "type": "list",
  1037. "member": {
  1038. "type": "structure",
  1039. "members": {
  1040. "Type": {},
  1041. "Ids": {
  1042. "type": "list",
  1043. "member": {}
  1044. }
  1045. }
  1046. }
  1047. },
  1048. "EntityTypes": {
  1049. "type": "list",
  1050. "member": {}
  1051. },
  1052. "SelectionStatus": {},
  1053. "Page": {
  1054. "type": "integer"
  1055. },
  1056. "Query": {
  1057. "shape": "Si"
  1058. }
  1059. }
  1060. }
  1061. },
  1062. "S12": {
  1063. "type": "structure",
  1064. "members": {
  1065. "BoundingBox": {
  1066. "type": "structure",
  1067. "members": {
  1068. "Width": {
  1069. "type": "float"
  1070. },
  1071. "Height": {
  1072. "type": "float"
  1073. },
  1074. "Left": {
  1075. "type": "float"
  1076. },
  1077. "Top": {
  1078. "type": "float"
  1079. }
  1080. }
  1081. },
  1082. "Polygon": {
  1083. "type": "list",
  1084. "member": {
  1085. "type": "structure",
  1086. "members": {
  1087. "X": {
  1088. "type": "float"
  1089. },
  1090. "Y": {
  1091. "type": "float"
  1092. }
  1093. }
  1094. }
  1095. }
  1096. }
  1097. },
  1098. "S1m": {
  1099. "type": "list",
  1100. "member": {
  1101. "shape": "S1n"
  1102. }
  1103. },
  1104. "S1n": {
  1105. "type": "structure",
  1106. "members": {
  1107. "ExpenseIndex": {
  1108. "type": "integer"
  1109. },
  1110. "SummaryFields": {
  1111. "shape": "S1o"
  1112. },
  1113. "LineItemGroups": {
  1114. "type": "list",
  1115. "member": {
  1116. "type": "structure",
  1117. "members": {
  1118. "LineItemGroupIndex": {
  1119. "type": "integer"
  1120. },
  1121. "LineItems": {
  1122. "type": "list",
  1123. "member": {
  1124. "type": "structure",
  1125. "members": {
  1126. "LineItemExpenseFields": {
  1127. "shape": "S1o"
  1128. }
  1129. }
  1130. }
  1131. }
  1132. }
  1133. }
  1134. },
  1135. "Blocks": {
  1136. "shape": "Sw"
  1137. }
  1138. }
  1139. },
  1140. "S1o": {
  1141. "type": "list",
  1142. "member": {
  1143. "type": "structure",
  1144. "members": {
  1145. "Type": {
  1146. "type": "structure",
  1147. "members": {
  1148. "Text": {},
  1149. "Confidence": {
  1150. "type": "float"
  1151. }
  1152. }
  1153. },
  1154. "LabelDetection": {
  1155. "shape": "S1r"
  1156. },
  1157. "ValueDetection": {
  1158. "shape": "S1r"
  1159. },
  1160. "PageNumber": {
  1161. "type": "integer"
  1162. },
  1163. "Currency": {
  1164. "type": "structure",
  1165. "members": {
  1166. "Code": {},
  1167. "Confidence": {
  1168. "type": "float"
  1169. }
  1170. }
  1171. },
  1172. "GroupProperties": {
  1173. "type": "list",
  1174. "member": {
  1175. "type": "structure",
  1176. "members": {
  1177. "Types": {
  1178. "type": "list",
  1179. "member": {}
  1180. },
  1181. "Id": {}
  1182. }
  1183. }
  1184. }
  1185. }
  1186. }
  1187. },
  1188. "S1r": {
  1189. "type": "structure",
  1190. "members": {
  1191. "Text": {},
  1192. "Geometry": {
  1193. "shape": "S12"
  1194. },
  1195. "Confidence": {
  1196. "type": "float"
  1197. }
  1198. }
  1199. },
  1200. "S24": {
  1201. "type": "structure",
  1202. "members": {
  1203. "DocumentIndex": {
  1204. "type": "integer"
  1205. },
  1206. "IdentityDocumentFields": {
  1207. "type": "list",
  1208. "member": {
  1209. "type": "structure",
  1210. "members": {
  1211. "Type": {
  1212. "shape": "S27"
  1213. },
  1214. "ValueDetection": {
  1215. "shape": "S27"
  1216. }
  1217. }
  1218. }
  1219. },
  1220. "Blocks": {
  1221. "shape": "Sw"
  1222. }
  1223. }
  1224. },
  1225. "S27": {
  1226. "type": "structure",
  1227. "required": [
  1228. "Text"
  1229. ],
  1230. "members": {
  1231. "Text": {},
  1232. "NormalizedValue": {
  1233. "type": "structure",
  1234. "members": {
  1235. "Value": {},
  1236. "ValueType": {}
  1237. }
  1238. },
  1239. "Confidence": {
  1240. "type": "float"
  1241. }
  1242. }
  1243. },
  1244. "S2f": {
  1245. "type": "map",
  1246. "key": {},
  1247. "value": {}
  1248. },
  1249. "S2k": {
  1250. "type": "structure",
  1251. "members": {
  1252. "ManifestS3Object": {
  1253. "shape": "S4"
  1254. }
  1255. }
  1256. },
  1257. "S2m": {
  1258. "type": "structure",
  1259. "required": [
  1260. "S3Bucket"
  1261. ],
  1262. "members": {
  1263. "S3Bucket": {},
  1264. "S3Prefix": {}
  1265. }
  1266. },
  1267. "S33": {
  1268. "type": "structure",
  1269. "members": {
  1270. "F1Score": {
  1271. "type": "float"
  1272. },
  1273. "Precision": {
  1274. "type": "float"
  1275. },
  1276. "Recall": {
  1277. "type": "float"
  1278. }
  1279. }
  1280. },
  1281. "S3a": {
  1282. "type": "list",
  1283. "member": {
  1284. "type": "structure",
  1285. "members": {
  1286. "ErrorCode": {},
  1287. "Pages": {
  1288. "type": "list",
  1289. "member": {
  1290. "type": "integer"
  1291. }
  1292. }
  1293. }
  1294. }
  1295. },
  1296. "S3o": {
  1297. "type": "list",
  1298. "member": {
  1299. "type": "structure",
  1300. "members": {
  1301. "Value": {},
  1302. "Confidence": {
  1303. "type": "float"
  1304. }
  1305. }
  1306. }
  1307. },
  1308. "S3v": {
  1309. "type": "structure",
  1310. "members": {
  1311. "Text": {},
  1312. "SelectionStatus": {},
  1313. "Geometry": {
  1314. "shape": "S12"
  1315. },
  1316. "Confidence": {
  1317. "type": "float"
  1318. }
  1319. }
  1320. },
  1321. "S4o": {
  1322. "type": "structure",
  1323. "members": {
  1324. "S3Object": {
  1325. "shape": "S4"
  1326. }
  1327. }
  1328. },
  1329. "S4q": {
  1330. "type": "structure",
  1331. "required": [
  1332. "SNSTopicArn",
  1333. "RoleArn"
  1334. ],
  1335. "members": {
  1336. "SNSTopicArn": {},
  1337. "RoleArn": {}
  1338. }
  1339. }
  1340. }
  1341. }