|
53 | 53 | {"shape":"InternalServerError"},
|
54 | 54 | {"shape":"ThrottlingException"}
|
55 | 55 | ],
|
56 |
| - "documentation":"<p>Analyzes an input document for financially related relationships between text.</p> <p>Information is returned as <code>ExpenseDocuments</code> and seperated as follows.</p> <ul> <li> <p> <code>LineItemGroups</code>- A data set containing <code>LineItems</code> which store information about the lines of text, such as an item purchased and its price on a receipt.</p> </li> <li> <p> <code>SummaryFields</code>- Contains all other information a receipt, such as header information or the vendors name.</p> </li> </ul>" |
| 56 | + "documentation":"<p> <code>AnalyzeExpense</code> synchronously analyzes an input document for financially related relationships between text.</p> <p>Information is returned as <code>ExpenseDocuments</code> and seperated as follows.</p> <ul> <li> <p> <code>LineItemGroups</code>- A data set containing <code>LineItems</code> which store information about the lines of text, such as an item purchased and its price on a receipt.</p> </li> <li> <p> <code>SummaryFields</code>- Contains all other information a receipt, such as header information or the vendors name.</p> </li> </ul>" |
| 57 | + }, |
| 58 | + "AnalyzeID":{ |
| 59 | + "name":"AnalyzeID", |
| 60 | + "http":{ |
| 61 | + "method":"POST", |
| 62 | + "requestUri":"/" |
| 63 | + }, |
| 64 | + "input":{"shape":"AnalyzeIDRequest"}, |
| 65 | + "output":{"shape":"AnalyzeIDResponse"}, |
| 66 | + "errors":[ |
| 67 | + {"shape":"InvalidParameterException"}, |
| 68 | + {"shape":"InvalidS3ObjectException"}, |
| 69 | + {"shape":"UnsupportedDocumentException"}, |
| 70 | + {"shape":"DocumentTooLargeException"}, |
| 71 | + {"shape":"BadDocumentException"}, |
| 72 | + {"shape":"AccessDeniedException"}, |
| 73 | + {"shape":"ProvisionedThroughputExceededException"}, |
| 74 | + {"shape":"InternalServerError"}, |
| 75 | + {"shape":"ThrottlingException"} |
| 76 | + ], |
| 77 | + "documentation":"<p>Analyzes identity documents for relevant information. This information is extracted and returned as <code>IdentityDocumentFields</code>, which records both the normalized field and value of the extracted text.</p>" |
57 | 78 | },
|
58 | 79 | "DetectDocumentText":{
|
59 | 80 | "name":"DetectDocumentText",
|
|
276 | 297 | }
|
277 | 298 | }
|
278 | 299 | },
|
| 300 | + "AnalyzeIDDetections":{ |
| 301 | + "type":"structure", |
| 302 | + "required":["Text"], |
| 303 | + "members":{ |
| 304 | + "Text":{ |
| 305 | + "shape":"String", |
| 306 | + "documentation":"<p>Text of either the normalized field or value associated with it.</p>" |
| 307 | + }, |
| 308 | + "NormalizedValue":{ |
| 309 | + "shape":"NormalizedValue", |
| 310 | + "documentation":"<p>Only returned for dates, returns the type of value detected and the date written in a more machine readable way.</p>" |
| 311 | + }, |
| 312 | + "Confidence":{ |
| 313 | + "shape":"Percent", |
| 314 | + "documentation":"<p>The confidence score of the detected text.</p>" |
| 315 | + } |
| 316 | + }, |
| 317 | + "documentation":"<p>Used to contain the information detected by an AnalyzeID operation.</p>" |
| 318 | + }, |
| 319 | + "AnalyzeIDRequest":{ |
| 320 | + "type":"structure", |
| 321 | + "required":["DocumentPages"], |
| 322 | + "members":{ |
| 323 | + "DocumentPages":{ |
| 324 | + "shape":"DocumentPages", |
| 325 | + "documentation":"<p>The document being passed to AnalyzeID.</p>" |
| 326 | + } |
| 327 | + } |
| 328 | + }, |
| 329 | + "AnalyzeIDResponse":{ |
| 330 | + "type":"structure", |
| 331 | + "members":{ |
| 332 | + "IdentityDocuments":{ |
| 333 | + "shape":"IdentityDocumentList", |
| 334 | + "documentation":"<p>The list of documents processed by AnalyzeID. Includes a number denoting their place in the list and the response structure for the document.</p>" |
| 335 | + }, |
| 336 | + "DocumentMetadata":{"shape":"DocumentMetadata"}, |
| 337 | + "AnalyzeIDModelVersion":{ |
| 338 | + "shape":"String", |
| 339 | + "documentation":"<p>The version of the AnalyzeIdentity API being used to process documents.</p>" |
| 340 | + } |
| 341 | + } |
| 342 | + }, |
279 | 343 | "BadDocumentException":{
|
280 | 344 | "type":"structure",
|
281 | 345 | "members":{
|
|
462 | 526 | },
|
463 | 527 | "documentation":"<p>Information about the input document.</p>"
|
464 | 528 | },
|
| 529 | + "DocumentPages":{ |
| 530 | + "type":"list", |
| 531 | + "member":{"shape":"Document"}, |
| 532 | + "max":2, |
| 533 | + "min":1 |
| 534 | + }, |
465 | 535 | "DocumentTooLargeException":{
|
466 | 536 | "type":"structure",
|
467 | 537 | "members":{
|
|
538 | 608 | "documentation":"<p>The page number the value was detected on.</p>"
|
539 | 609 | }
|
540 | 610 | },
|
541 |
| - "documentation":"<p>Breakdown of detected information, seperated into the catagories Type, LableDetection, and ValueDetection</p>" |
| 611 | + "documentation":"<p>Breakdown of detected information, seperated into the catagories Type, LabelDetection, and ValueDetection</p>" |
542 | 612 | },
|
543 | 613 | "ExpenseFieldList":{
|
544 | 614 | "type":"list",
|
|
842 | 912 | "documentation":"<p>A <code>ClientRequestToken</code> input parameter was reused with an operation, but at least one of the other input parameters is different from the previous call to the operation. </p>",
|
843 | 913 | "exception":true
|
844 | 914 | },
|
| 915 | + "IdentityDocument":{ |
| 916 | + "type":"structure", |
| 917 | + "members":{ |
| 918 | + "DocumentIndex":{ |
| 919 | + "shape":"UInteger", |
| 920 | + "documentation":"<p>Denotes the placement of a document in the IdentityDocument list. The first document is marked 1, the second 2 and so on.</p>" |
| 921 | + }, |
| 922 | + "IdentityDocumentFields":{ |
| 923 | + "shape":"IdentityDocumentFieldList", |
| 924 | + "documentation":"<p>The structure used to record information extracted from identity documents. Contains both normalized field and value of the extracted text.</p>" |
| 925 | + } |
| 926 | + }, |
| 927 | + "documentation":"<p>The structure that lists each document processed in an AnalyzeID operation.</p>" |
| 928 | + }, |
| 929 | + "IdentityDocumentField":{ |
| 930 | + "type":"structure", |
| 931 | + "members":{ |
| 932 | + "Type":{"shape":"AnalyzeIDDetections"}, |
| 933 | + "ValueDetection":{"shape":"AnalyzeIDDetections"} |
| 934 | + }, |
| 935 | + "documentation":"<p>Structure containing both the normalized type of the extracted information and the text associated with it. These are extracted as Type and Value respectively.</p>" |
| 936 | + }, |
| 937 | + "IdentityDocumentFieldList":{ |
| 938 | + "type":"list", |
| 939 | + "member":{"shape":"IdentityDocumentField"} |
| 940 | + }, |
| 941 | + "IdentityDocumentList":{ |
| 942 | + "type":"list", |
| 943 | + "member":{"shape":"IdentityDocument"} |
| 944 | + }, |
845 | 945 | "ImageBlob":{
|
846 | 946 | "type":"blob",
|
847 | 947 | "max":10485760,
|
|
957 | 1057 | "type":"string",
|
958 | 1058 | "pattern":".*\\S.*"
|
959 | 1059 | },
|
| 1060 | + "NormalizedValue":{ |
| 1061 | + "type":"structure", |
| 1062 | + "members":{ |
| 1063 | + "Value":{ |
| 1064 | + "shape":"String", |
| 1065 | + "documentation":"<p>The value of the date, written as Year-Month-DayTHour:Minute:Second.</p>" |
| 1066 | + }, |
| 1067 | + "ValueType":{ |
| 1068 | + "shape":"ValueType", |
| 1069 | + "documentation":"<p>The normalized type of the value detected. In this case, DATE.</p>" |
| 1070 | + } |
| 1071 | + }, |
| 1072 | + "documentation":"<p>Contains information relating to dates in a document, including the type of value, and the value.</p>" |
| 1073 | + }, |
960 | 1074 | "NotificationChannel":{
|
961 | 1075 | "type":"structure",
|
962 | 1076 | "required":[
|
|
1260 | 1374 | "type":"structure",
|
1261 | 1375 | "members":{
|
1262 | 1376 | },
|
1263 |
| - "documentation":"<p>The format of the input document isn't supported. Documents for synchronous operations can be in PNG or JPEG format. Documents for asynchronous operations can also be in PDF format.</p>", |
| 1377 | + "documentation":"<p>The format of the input document isn't supported. Documents for synchronous operations can be in PNG or JPEG format only. Documents for asynchronous operations can be in PDF format.</p>", |
1264 | 1378 | "exception":true
|
1265 | 1379 | },
|
| 1380 | + "ValueType":{ |
| 1381 | + "type":"string", |
| 1382 | + "enum":["DATE"] |
| 1383 | + }, |
1266 | 1384 | "Warning":{
|
1267 | 1385 | "type":"structure",
|
1268 | 1386 | "members":{
|
|
0 commit comments