|
104 | 104 | "errors":[
|
105 | 105 | {"shape":"InvalidParameterException"},
|
106 | 106 | {"shape":"InvalidS3ObjectException"},
|
| 107 | + {"shape":"InvalidKMSKeyException"}, |
107 | 108 | {"shape":"UnsupportedDocumentException"},
|
108 | 109 | {"shape":"DocumentTooLargeException"},
|
109 | 110 | {"shape":"BadDocumentException"},
|
|
127 | 128 | "errors":[
|
128 | 129 | {"shape":"InvalidParameterException"},
|
129 | 130 | {"shape":"InvalidS3ObjectException"},
|
| 131 | + {"shape":"InvalidKMSKeyException"}, |
130 | 132 | {"shape":"UnsupportedDocumentException"},
|
131 | 133 | {"shape":"DocumentTooLargeException"},
|
132 | 134 | {"shape":"BadDocumentException"},
|
|
212 | 214 | "shape":"String",
|
213 | 215 | "documentation":"<p>The word or line of text that's recognized by Amazon Textract. </p>"
|
214 | 216 | },
|
| 217 | + "TextType":{ |
| 218 | + "shape":"TextType", |
| 219 | + "documentation":"<p>The kind of text that Amazon Textract has detected. Can check for handwritten text and printed text.</p>" |
| 220 | + }, |
215 | 221 | "RowIndex":{
|
216 | 222 | "shape":"UInteger",
|
217 | 223 | "documentation":"<p>The row in which a table cell is located. The first row position is 1. <code>RowIndex</code> isn't returned by <code>DetectDocumentText</code> and <code>GetDocumentTextDetection</code>.</p>"
|
|
376 | 382 | "type":"structure",
|
377 | 383 | "members":{
|
378 | 384 | },
|
379 |
| - "documentation":"<p>The document can't be processed because it's too large. The maximum document size for synchronous operations 5 MB. The maximum document size for asynchronous operations is 500 MB for PDF files.</p>", |
| 385 | + "documentation":"<p>The document can't be processed because it's too large. The maximum document size for synchronous operations 10 MB. The maximum document size for asynchronous operations is 500 MB for PDF files.</p>", |
380 | 386 | "exception":true
|
381 | 387 | },
|
382 | 388 | "EntityType":{
|
|
644 | 650 | "documentation":"<p>An invalid job identifier was passed to <a>GetDocumentAnalysis</a> or to <a>GetDocumentAnalysis</a>.</p>",
|
645 | 651 | "exception":true
|
646 | 652 | },
|
| 653 | + "InvalidKMSKeyException":{ |
| 654 | + "type":"structure", |
| 655 | + "members":{ |
| 656 | + }, |
| 657 | + "documentation":"<p> Indicates you do not have decrypt permissions with the KMS key entered, or the KMS key was entered incorrectly. </p>", |
| 658 | + "exception":true |
| 659 | + }, |
647 | 660 | "InvalidParameterException":{
|
648 | 661 | "type":"structure",
|
649 | 662 | "members":{
|
|
679 | 692 | "min":1,
|
680 | 693 | "pattern":"[a-zA-Z0-9_.\\-:]+"
|
681 | 694 | },
|
| 695 | + "KMSKeyId":{ |
| 696 | + "type":"string", |
| 697 | + "max":2048, |
| 698 | + "min":1, |
| 699 | + "pattern":"^[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,2048}$" |
| 700 | + }, |
682 | 701 | "LimitExceededException":{
|
683 | 702 | "type":"structure",
|
684 | 703 | "members":{
|
|
878 | 897 | "OutputConfig":{
|
879 | 898 | "shape":"OutputConfig",
|
880 | 899 | "documentation":"<p>Sets if the output will go to a customer defined bucket. By default, Amazon Textract will save the results internally to be accessed by the GetDocumentAnalysis operation.</p>"
|
| 900 | + }, |
| 901 | + "KMSKeyId":{ |
| 902 | + "shape":"KMSKeyId", |
| 903 | + "documentation":"<p>The KMS key used to encrypt the inference results. This can be in either Key ID or Key Alias format. When a KMS key is provided, the KMS key will be used for server-side encryption of the objects in the customer bucket. When this parameter is not enabled, the result will be encrypted server side,using SSE-S3.</p>" |
881 | 904 | }
|
882 | 905 | }
|
883 | 906 | },
|
|
913 | 936 | "OutputConfig":{
|
914 | 937 | "shape":"OutputConfig",
|
915 | 938 | "documentation":"<p>Sets if the output will go to a customer defined bucket. By default Amazon Textract will save the results internally to be accessed with the GetDocumentTextDetection operation.</p>"
|
| 939 | + }, |
| 940 | + "KMSKeyId":{ |
| 941 | + "shape":"KMSKeyId", |
| 942 | + "documentation":"<p>The KMS key used to encrypt the inference results. This can be in either Key ID or Key Alias format. When a KMS key is provided, the KMS key will be used for server-side encryption of the objects in the customer bucket. When this parameter is not enabled, the result will be encrypted server side,using SSE-S3.</p>" |
916 | 943 | }
|
917 | 944 | }
|
918 | 945 | },
|
|
927 | 954 | },
|
928 | 955 | "StatusMessage":{"type":"string"},
|
929 | 956 | "String":{"type":"string"},
|
| 957 | + "TextType":{ |
| 958 | + "type":"string", |
| 959 | + "enum":[ |
| 960 | + "HANDWRITING", |
| 961 | + "PRINTED" |
| 962 | + ] |
| 963 | + }, |
930 | 964 | "ThrottlingException":{
|
931 | 965 | "type":"structure",
|
932 | 966 | "members":{
|
|
0 commit comments