@aws-sdk/client-textract 3.288.0 → 3.290.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -77,6 +77,50 @@ export interface AnalyzeDocumentCommandOutput extends AnalyzeDocumentResponse, _
77
77
  * @see {@link AnalyzeDocumentCommandOutput} for command's `response` shape.
78
78
  * @see {@link TextractClientResolvedConfig | config} for TextractClient's `config` shape.
79
79
  *
80
+ * @throws {@link AccessDeniedException} (client fault)
81
+ * <p>You aren't authorized to perform the action. Use the Amazon Resource Name (ARN)
82
+ * of an authorized user or IAM role to perform the operation.</p>
83
+ *
84
+ * @throws {@link BadDocumentException} (client fault)
85
+ * <p>Amazon Textract isn't able to read the document. For more information on the document
86
+ * limits in Amazon Textract, see <a>limits</a>.</p>
87
+ *
88
+ * @throws {@link DocumentTooLargeException} (client fault)
89
+ * <p>The document can't be processed because it's too large. The maximum document size for
90
+ * synchronous operations 10 MB. The maximum document size for asynchronous operations is 500
91
+ * MB for PDF files.</p>
92
+ *
93
+ * @throws {@link HumanLoopQuotaExceededException} (client fault)
94
+ * <p>Indicates you have exceeded the maximum number of active human in the loop workflows available</p>
95
+ *
96
+ * @throws {@link InternalServerError} (server fault)
97
+ * <p>Amazon Textract experienced a service issue. Try your call again.</p>
98
+ *
99
+ * @throws {@link InvalidParameterException} (client fault)
100
+ * <p>An input parameter violated a constraint. For example, in synchronous operations,
101
+ * an <code>InvalidParameterException</code> exception occurs
102
+ * when neither of the <code>S3Object</code> or <code>Bytes</code> values are supplied in the <code>Document</code>
103
+ * request parameter.
104
+ * Validate your parameter before calling the API operation again.</p>
105
+ *
106
+ * @throws {@link InvalidS3ObjectException} (client fault)
107
+ * <p>Amazon Textract is unable to access the S3 object that's specified in the request.
108
+ * for more information, <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html">Configure Access to Amazon S3</a>
109
+ * For troubleshooting information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/troubleshooting.html">Troubleshooting Amazon S3</a>
110
+ * </p>
111
+ *
112
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
113
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this limit,
114
+ * contact Amazon Textract.</p>
115
+ *
116
+ * @throws {@link ThrottlingException} (server fault)
117
+ * <p>Amazon Textract is temporarily unable to process the request. Try your call again.</p>
118
+ *
119
+ * @throws {@link UnsupportedDocumentException} (client fault)
120
+ * <p>The format of the input document isn't supported. Documents for operations can be in
121
+ * PNG, JPEG, PDF, or TIFF format.</p>
122
+ *
123
+ *
80
124
  */
81
125
  export declare class AnalyzeDocumentCommand extends $Command<AnalyzeDocumentCommandInput, AnalyzeDocumentCommandOutput, TextractClientResolvedConfig> {
82
126
  readonly input: AnalyzeDocumentCommandInput;
@@ -46,6 +46,47 @@ export interface AnalyzeExpenseCommandOutput extends AnalyzeExpenseResponse, __M
46
46
  * @see {@link AnalyzeExpenseCommandOutput} for command's `response` shape.
47
47
  * @see {@link TextractClientResolvedConfig | config} for TextractClient's `config` shape.
48
48
  *
49
+ * @throws {@link AccessDeniedException} (client fault)
50
+ * <p>You aren't authorized to perform the action. Use the Amazon Resource Name (ARN)
51
+ * of an authorized user or IAM role to perform the operation.</p>
52
+ *
53
+ * @throws {@link BadDocumentException} (client fault)
54
+ * <p>Amazon Textract isn't able to read the document. For more information on the document
55
+ * limits in Amazon Textract, see <a>limits</a>.</p>
56
+ *
57
+ * @throws {@link DocumentTooLargeException} (client fault)
58
+ * <p>The document can't be processed because it's too large. The maximum document size for
59
+ * synchronous operations 10 MB. The maximum document size for asynchronous operations is 500
60
+ * MB for PDF files.</p>
61
+ *
62
+ * @throws {@link InternalServerError} (server fault)
63
+ * <p>Amazon Textract experienced a service issue. Try your call again.</p>
64
+ *
65
+ * @throws {@link InvalidParameterException} (client fault)
66
+ * <p>An input parameter violated a constraint. For example, in synchronous operations,
67
+ * an <code>InvalidParameterException</code> exception occurs
68
+ * when neither of the <code>S3Object</code> or <code>Bytes</code> values are supplied in the <code>Document</code>
69
+ * request parameter.
70
+ * Validate your parameter before calling the API operation again.</p>
71
+ *
72
+ * @throws {@link InvalidS3ObjectException} (client fault)
73
+ * <p>Amazon Textract is unable to access the S3 object that's specified in the request.
74
+ * for more information, <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html">Configure Access to Amazon S3</a>
75
+ * For troubleshooting information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/troubleshooting.html">Troubleshooting Amazon S3</a>
76
+ * </p>
77
+ *
78
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
79
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this limit,
80
+ * contact Amazon Textract.</p>
81
+ *
82
+ * @throws {@link ThrottlingException} (server fault)
83
+ * <p>Amazon Textract is temporarily unable to process the request. Try your call again.</p>
84
+ *
85
+ * @throws {@link UnsupportedDocumentException} (client fault)
86
+ * <p>The format of the input document isn't supported. Documents for operations can be in
87
+ * PNG, JPEG, PDF, or TIFF format.</p>
88
+ *
89
+ *
49
90
  */
50
91
  export declare class AnalyzeExpenseCommand extends $Command<AnalyzeExpenseCommandInput, AnalyzeExpenseCommandOutput, TextractClientResolvedConfig> {
51
92
  readonly input: AnalyzeExpenseCommandInput;
@@ -32,6 +32,47 @@ export interface AnalyzeIDCommandOutput extends AnalyzeIDResponse, __MetadataBea
32
32
  * @see {@link AnalyzeIDCommandOutput} for command's `response` shape.
33
33
  * @see {@link TextractClientResolvedConfig | config} for TextractClient's `config` shape.
34
34
  *
35
+ * @throws {@link AccessDeniedException} (client fault)
36
+ * <p>You aren't authorized to perform the action. Use the Amazon Resource Name (ARN)
37
+ * of an authorized user or IAM role to perform the operation.</p>
38
+ *
39
+ * @throws {@link BadDocumentException} (client fault)
40
+ * <p>Amazon Textract isn't able to read the document. For more information on the document
41
+ * limits in Amazon Textract, see <a>limits</a>.</p>
42
+ *
43
+ * @throws {@link DocumentTooLargeException} (client fault)
44
+ * <p>The document can't be processed because it's too large. The maximum document size for
45
+ * synchronous operations 10 MB. The maximum document size for asynchronous operations is 500
46
+ * MB for PDF files.</p>
47
+ *
48
+ * @throws {@link InternalServerError} (server fault)
49
+ * <p>Amazon Textract experienced a service issue. Try your call again.</p>
50
+ *
51
+ * @throws {@link InvalidParameterException} (client fault)
52
+ * <p>An input parameter violated a constraint. For example, in synchronous operations,
53
+ * an <code>InvalidParameterException</code> exception occurs
54
+ * when neither of the <code>S3Object</code> or <code>Bytes</code> values are supplied in the <code>Document</code>
55
+ * request parameter.
56
+ * Validate your parameter before calling the API operation again.</p>
57
+ *
58
+ * @throws {@link InvalidS3ObjectException} (client fault)
59
+ * <p>Amazon Textract is unable to access the S3 object that's specified in the request.
60
+ * for more information, <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html">Configure Access to Amazon S3</a>
61
+ * For troubleshooting information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/troubleshooting.html">Troubleshooting Amazon S3</a>
62
+ * </p>
63
+ *
64
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
65
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this limit,
66
+ * contact Amazon Textract.</p>
67
+ *
68
+ * @throws {@link ThrottlingException} (server fault)
69
+ * <p>Amazon Textract is temporarily unable to process the request. Try your call again.</p>
70
+ *
71
+ * @throws {@link UnsupportedDocumentException} (client fault)
72
+ * <p>The format of the input document isn't supported. Documents for operations can be in
73
+ * PNG, JPEG, PDF, or TIFF format.</p>
74
+ *
75
+ *
35
76
  */
36
77
  export declare class AnalyzeIDCommand extends $Command<AnalyzeIDCommandInput, AnalyzeIDCommandOutput, TextractClientResolvedConfig> {
37
78
  readonly input: AnalyzeIDCommandInput;
@@ -40,6 +40,47 @@ export interface DetectDocumentTextCommandOutput extends DetectDocumentTextRespo
40
40
  * @see {@link DetectDocumentTextCommandOutput} for command's `response` shape.
41
41
  * @see {@link TextractClientResolvedConfig | config} for TextractClient's `config` shape.
42
42
  *
43
+ * @throws {@link AccessDeniedException} (client fault)
44
+ * <p>You aren't authorized to perform the action. Use the Amazon Resource Name (ARN)
45
+ * of an authorized user or IAM role to perform the operation.</p>
46
+ *
47
+ * @throws {@link BadDocumentException} (client fault)
48
+ * <p>Amazon Textract isn't able to read the document. For more information on the document
49
+ * limits in Amazon Textract, see <a>limits</a>.</p>
50
+ *
51
+ * @throws {@link DocumentTooLargeException} (client fault)
52
+ * <p>The document can't be processed because it's too large. The maximum document size for
53
+ * synchronous operations 10 MB. The maximum document size for asynchronous operations is 500
54
+ * MB for PDF files.</p>
55
+ *
56
+ * @throws {@link InternalServerError} (server fault)
57
+ * <p>Amazon Textract experienced a service issue. Try your call again.</p>
58
+ *
59
+ * @throws {@link InvalidParameterException} (client fault)
60
+ * <p>An input parameter violated a constraint. For example, in synchronous operations,
61
+ * an <code>InvalidParameterException</code> exception occurs
62
+ * when neither of the <code>S3Object</code> or <code>Bytes</code> values are supplied in the <code>Document</code>
63
+ * request parameter.
64
+ * Validate your parameter before calling the API operation again.</p>
65
+ *
66
+ * @throws {@link InvalidS3ObjectException} (client fault)
67
+ * <p>Amazon Textract is unable to access the S3 object that's specified in the request.
68
+ * for more information, <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html">Configure Access to Amazon S3</a>
69
+ * For troubleshooting information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/troubleshooting.html">Troubleshooting Amazon S3</a>
70
+ * </p>
71
+ *
72
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
73
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this limit,
74
+ * contact Amazon Textract.</p>
75
+ *
76
+ * @throws {@link ThrottlingException} (server fault)
77
+ * <p>Amazon Textract is temporarily unable to process the request. Try your call again.</p>
78
+ *
79
+ * @throws {@link UnsupportedDocumentException} (client fault)
80
+ * <p>The format of the input document isn't supported. Documents for operations can be in
81
+ * PNG, JPEG, PDF, or TIFF format.</p>
82
+ *
83
+ *
43
84
  */
44
85
  export declare class DetectDocumentTextCommand extends $Command<DetectDocumentTextCommandInput, DetectDocumentTextCommandOutput, TextractClientResolvedConfig> {
45
86
  readonly input: DetectDocumentTextCommandInput;
@@ -93,6 +93,41 @@ export interface GetDocumentAnalysisCommandOutput extends GetDocumentAnalysisRes
93
93
  * @see {@link GetDocumentAnalysisCommandOutput} for command's `response` shape.
94
94
  * @see {@link TextractClientResolvedConfig | config} for TextractClient's `config` shape.
95
95
  *
96
+ * @throws {@link AccessDeniedException} (client fault)
97
+ * <p>You aren't authorized to perform the action. Use the Amazon Resource Name (ARN)
98
+ * of an authorized user or IAM role to perform the operation.</p>
99
+ *
100
+ * @throws {@link InternalServerError} (server fault)
101
+ * <p>Amazon Textract experienced a service issue. Try your call again.</p>
102
+ *
103
+ * @throws {@link InvalidJobIdException} (client fault)
104
+ * <p>An invalid job identifier was passed to an asynchronous analysis operation.</p>
105
+ *
106
+ * @throws {@link InvalidKMSKeyException} (client fault)
107
+ * <p> Indicates you do not have decrypt permissions with the KMS key entered, or the KMS key
108
+ * was entered incorrectly. </p>
109
+ *
110
+ * @throws {@link InvalidParameterException} (client fault)
111
+ * <p>An input parameter violated a constraint. For example, in synchronous operations,
112
+ * an <code>InvalidParameterException</code> exception occurs
113
+ * when neither of the <code>S3Object</code> or <code>Bytes</code> values are supplied in the <code>Document</code>
114
+ * request parameter.
115
+ * Validate your parameter before calling the API operation again.</p>
116
+ *
117
+ * @throws {@link InvalidS3ObjectException} (client fault)
118
+ * <p>Amazon Textract is unable to access the S3 object that's specified in the request.
119
+ * for more information, <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html">Configure Access to Amazon S3</a>
120
+ * For troubleshooting information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/troubleshooting.html">Troubleshooting Amazon S3</a>
121
+ * </p>
122
+ *
123
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
124
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this limit,
125
+ * contact Amazon Textract.</p>
126
+ *
127
+ * @throws {@link ThrottlingException} (server fault)
128
+ * <p>Amazon Textract is temporarily unable to process the request. Try your call again.</p>
129
+ *
130
+ *
96
131
  */
97
132
  export declare class GetDocumentAnalysisCommand extends $Command<GetDocumentAnalysisCommandInput, GetDocumentAnalysisCommandOutput, TextractClientResolvedConfig> {
98
133
  readonly input: GetDocumentAnalysisCommandInput;
@@ -53,6 +53,41 @@ export interface GetDocumentTextDetectionCommandOutput extends GetDocumentTextDe
53
53
  * @see {@link GetDocumentTextDetectionCommandOutput} for command's `response` shape.
54
54
  * @see {@link TextractClientResolvedConfig | config} for TextractClient's `config` shape.
55
55
  *
56
+ * @throws {@link AccessDeniedException} (client fault)
57
+ * <p>You aren't authorized to perform the action. Use the Amazon Resource Name (ARN)
58
+ * of an authorized user or IAM role to perform the operation.</p>
59
+ *
60
+ * @throws {@link InternalServerError} (server fault)
61
+ * <p>Amazon Textract experienced a service issue. Try your call again.</p>
62
+ *
63
+ * @throws {@link InvalidJobIdException} (client fault)
64
+ * <p>An invalid job identifier was passed to an asynchronous analysis operation.</p>
65
+ *
66
+ * @throws {@link InvalidKMSKeyException} (client fault)
67
+ * <p> Indicates you do not have decrypt permissions with the KMS key entered, or the KMS key
68
+ * was entered incorrectly. </p>
69
+ *
70
+ * @throws {@link InvalidParameterException} (client fault)
71
+ * <p>An input parameter violated a constraint. For example, in synchronous operations,
72
+ * an <code>InvalidParameterException</code> exception occurs
73
+ * when neither of the <code>S3Object</code> or <code>Bytes</code> values are supplied in the <code>Document</code>
74
+ * request parameter.
75
+ * Validate your parameter before calling the API operation again.</p>
76
+ *
77
+ * @throws {@link InvalidS3ObjectException} (client fault)
78
+ * <p>Amazon Textract is unable to access the S3 object that's specified in the request.
79
+ * for more information, <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html">Configure Access to Amazon S3</a>
80
+ * For troubleshooting information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/troubleshooting.html">Troubleshooting Amazon S3</a>
81
+ * </p>
82
+ *
83
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
84
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this limit,
85
+ * contact Amazon Textract.</p>
86
+ *
87
+ * @throws {@link ThrottlingException} (server fault)
88
+ * <p>Amazon Textract is temporarily unable to process the request. Try your call again.</p>
89
+ *
90
+ *
56
91
  */
57
92
  export declare class GetDocumentTextDetectionCommand extends $Command<GetDocumentTextDetectionCommandInput, GetDocumentTextDetectionCommandOutput, TextractClientResolvedConfig> {
58
93
  readonly input: GetDocumentTextDetectionCommandInput;
@@ -45,6 +45,41 @@ export interface GetExpenseAnalysisCommandOutput extends GetExpenseAnalysisRespo
45
45
  * @see {@link GetExpenseAnalysisCommandOutput} for command's `response` shape.
46
46
  * @see {@link TextractClientResolvedConfig | config} for TextractClient's `config` shape.
47
47
  *
48
+ * @throws {@link AccessDeniedException} (client fault)
49
+ * <p>You aren't authorized to perform the action. Use the Amazon Resource Name (ARN)
50
+ * of an authorized user or IAM role to perform the operation.</p>
51
+ *
52
+ * @throws {@link InternalServerError} (server fault)
53
+ * <p>Amazon Textract experienced a service issue. Try your call again.</p>
54
+ *
55
+ * @throws {@link InvalidJobIdException} (client fault)
56
+ * <p>An invalid job identifier was passed to an asynchronous analysis operation.</p>
57
+ *
58
+ * @throws {@link InvalidKMSKeyException} (client fault)
59
+ * <p> Indicates you do not have decrypt permissions with the KMS key entered, or the KMS key
60
+ * was entered incorrectly. </p>
61
+ *
62
+ * @throws {@link InvalidParameterException} (client fault)
63
+ * <p>An input parameter violated a constraint. For example, in synchronous operations,
64
+ * an <code>InvalidParameterException</code> exception occurs
65
+ * when neither of the <code>S3Object</code> or <code>Bytes</code> values are supplied in the <code>Document</code>
66
+ * request parameter.
67
+ * Validate your parameter before calling the API operation again.</p>
68
+ *
69
+ * @throws {@link InvalidS3ObjectException} (client fault)
70
+ * <p>Amazon Textract is unable to access the S3 object that's specified in the request.
71
+ * for more information, <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html">Configure Access to Amazon S3</a>
72
+ * For troubleshooting information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/troubleshooting.html">Troubleshooting Amazon S3</a>
73
+ * </p>
74
+ *
75
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
76
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this limit,
77
+ * contact Amazon Textract.</p>
78
+ *
79
+ * @throws {@link ThrottlingException} (server fault)
80
+ * <p>Amazon Textract is temporarily unable to process the request. Try your call again.</p>
81
+ *
82
+ *
48
83
  */
49
84
  export declare class GetExpenseAnalysisCommand extends $Command<GetExpenseAnalysisCommandInput, GetExpenseAnalysisCommandOutput, TextractClientResolvedConfig> {
50
85
  readonly input: GetExpenseAnalysisCommandInput;
@@ -39,6 +39,41 @@ export interface GetLendingAnalysisCommandOutput extends GetLendingAnalysisRespo
39
39
  * @see {@link GetLendingAnalysisCommandOutput} for command's `response` shape.
40
40
  * @see {@link TextractClientResolvedConfig | config} for TextractClient's `config` shape.
41
41
  *
42
+ * @throws {@link AccessDeniedException} (client fault)
43
+ * <p>You aren't authorized to perform the action. Use the Amazon Resource Name (ARN)
44
+ * of an authorized user or IAM role to perform the operation.</p>
45
+ *
46
+ * @throws {@link InternalServerError} (server fault)
47
+ * <p>Amazon Textract experienced a service issue. Try your call again.</p>
48
+ *
49
+ * @throws {@link InvalidJobIdException} (client fault)
50
+ * <p>An invalid job identifier was passed to an asynchronous analysis operation.</p>
51
+ *
52
+ * @throws {@link InvalidKMSKeyException} (client fault)
53
+ * <p> Indicates you do not have decrypt permissions with the KMS key entered, or the KMS key
54
+ * was entered incorrectly. </p>
55
+ *
56
+ * @throws {@link InvalidParameterException} (client fault)
57
+ * <p>An input parameter violated a constraint. For example, in synchronous operations,
58
+ * an <code>InvalidParameterException</code> exception occurs
59
+ * when neither of the <code>S3Object</code> or <code>Bytes</code> values are supplied in the <code>Document</code>
60
+ * request parameter.
61
+ * Validate your parameter before calling the API operation again.</p>
62
+ *
63
+ * @throws {@link InvalidS3ObjectException} (client fault)
64
+ * <p>Amazon Textract is unable to access the S3 object that's specified in the request.
65
+ * for more information, <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html">Configure Access to Amazon S3</a>
66
+ * For troubleshooting information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/troubleshooting.html">Troubleshooting Amazon S3</a>
67
+ * </p>
68
+ *
69
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
70
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this limit,
71
+ * contact Amazon Textract.</p>
72
+ *
73
+ * @throws {@link ThrottlingException} (server fault)
74
+ * <p>Amazon Textract is temporarily unable to process the request. Try your call again.</p>
75
+ *
76
+ *
42
77
  */
43
78
  export declare class GetLendingAnalysisCommand extends $Command<GetLendingAnalysisCommandInput, GetLendingAnalysisCommandOutput, TextractClientResolvedConfig> {
44
79
  readonly input: GetLendingAnalysisCommandInput;
@@ -40,6 +40,41 @@ export interface GetLendingAnalysisSummaryCommandOutput extends GetLendingAnalys
40
40
  * @see {@link GetLendingAnalysisSummaryCommandOutput} for command's `response` shape.
41
41
  * @see {@link TextractClientResolvedConfig | config} for TextractClient's `config` shape.
42
42
  *
43
+ * @throws {@link AccessDeniedException} (client fault)
44
+ * <p>You aren't authorized to perform the action. Use the Amazon Resource Name (ARN)
45
+ * of an authorized user or IAM role to perform the operation.</p>
46
+ *
47
+ * @throws {@link InternalServerError} (server fault)
48
+ * <p>Amazon Textract experienced a service issue. Try your call again.</p>
49
+ *
50
+ * @throws {@link InvalidJobIdException} (client fault)
51
+ * <p>An invalid job identifier was passed to an asynchronous analysis operation.</p>
52
+ *
53
+ * @throws {@link InvalidKMSKeyException} (client fault)
54
+ * <p> Indicates you do not have decrypt permissions with the KMS key entered, or the KMS key
55
+ * was entered incorrectly. </p>
56
+ *
57
+ * @throws {@link InvalidParameterException} (client fault)
58
+ * <p>An input parameter violated a constraint. For example, in synchronous operations,
59
+ * an <code>InvalidParameterException</code> exception occurs
60
+ * when neither of the <code>S3Object</code> or <code>Bytes</code> values are supplied in the <code>Document</code>
61
+ * request parameter.
62
+ * Validate your parameter before calling the API operation again.</p>
63
+ *
64
+ * @throws {@link InvalidS3ObjectException} (client fault)
65
+ * <p>Amazon Textract is unable to access the S3 object that's specified in the request.
66
+ * for more information, <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html">Configure Access to Amazon S3</a>
67
+ * For troubleshooting information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/troubleshooting.html">Troubleshooting Amazon S3</a>
68
+ * </p>
69
+ *
70
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
71
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this limit,
72
+ * contact Amazon Textract.</p>
73
+ *
74
+ * @throws {@link ThrottlingException} (server fault)
75
+ * <p>Amazon Textract is temporarily unable to process the request. Try your call again.</p>
76
+ *
77
+ *
43
78
  */
44
79
  export declare class GetLendingAnalysisSummaryCommand extends $Command<GetLendingAnalysisSummaryCommandInput, GetLendingAnalysisSummaryCommandOutput, TextractClientResolvedConfig> {
45
80
  readonly input: GetLendingAnalysisSummaryCommandInput;
@@ -46,6 +46,63 @@ export interface StartDocumentAnalysisCommandOutput extends StartDocumentAnalysi
46
46
  * @see {@link StartDocumentAnalysisCommandOutput} for command's `response` shape.
47
47
  * @see {@link TextractClientResolvedConfig | config} for TextractClient's `config` shape.
48
48
  *
49
+ * @throws {@link AccessDeniedException} (client fault)
50
+ * <p>You aren't authorized to perform the action. Use the Amazon Resource Name (ARN)
51
+ * of an authorized user or IAM role to perform the operation.</p>
52
+ *
53
+ * @throws {@link BadDocumentException} (client fault)
54
+ * <p>Amazon Textract isn't able to read the document. For more information on the document
55
+ * limits in Amazon Textract, see <a>limits</a>.</p>
56
+ *
57
+ * @throws {@link DocumentTooLargeException} (client fault)
58
+ * <p>The document can't be processed because it's too large. The maximum document size for
59
+ * synchronous operations 10 MB. The maximum document size for asynchronous operations is 500
60
+ * MB for PDF files.</p>
61
+ *
62
+ * @throws {@link IdempotentParameterMismatchException} (client fault)
63
+ * <p>A <code>ClientRequestToken</code> input parameter was reused with an operation, but at
64
+ * least one of the other input parameters is different from the previous call to the
65
+ * operation. </p>
66
+ *
67
+ * @throws {@link InternalServerError} (server fault)
68
+ * <p>Amazon Textract experienced a service issue. Try your call again.</p>
69
+ *
70
+ * @throws {@link InvalidKMSKeyException} (client fault)
71
+ * <p> Indicates you do not have decrypt permissions with the KMS key entered, or the KMS key
72
+ * was entered incorrectly. </p>
73
+ *
74
+ * @throws {@link InvalidParameterException} (client fault)
75
+ * <p>An input parameter violated a constraint. For example, in synchronous operations,
76
+ * an <code>InvalidParameterException</code> exception occurs
77
+ * when neither of the <code>S3Object</code> or <code>Bytes</code> values are supplied in the <code>Document</code>
78
+ * request parameter.
79
+ * Validate your parameter before calling the API operation again.</p>
80
+ *
81
+ * @throws {@link InvalidS3ObjectException} (client fault)
82
+ * <p>Amazon Textract is unable to access the S3 object that's specified in the request.
83
+ * for more information, <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html">Configure Access to Amazon S3</a>
84
+ * For troubleshooting information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/troubleshooting.html">Troubleshooting Amazon S3</a>
85
+ * </p>
86
+ *
87
+ * @throws {@link LimitExceededException} (client fault)
88
+ * <p>An Amazon Textract service limit was exceeded. For example, if you start too many
89
+ * asynchronous jobs concurrently, calls to start operations
90
+ * (<code>StartDocumentTextDetection</code>, for example) raise a LimitExceededException
91
+ * exception (HTTP status code: 400) until the number of concurrently running jobs is below
92
+ * the Amazon Textract service limit. </p>
93
+ *
94
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
95
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this limit,
96
+ * contact Amazon Textract.</p>
97
+ *
98
+ * @throws {@link ThrottlingException} (server fault)
99
+ * <p>Amazon Textract is temporarily unable to process the request. Try your call again.</p>
100
+ *
101
+ * @throws {@link UnsupportedDocumentException} (client fault)
102
+ * <p>The format of the input document isn't supported. Documents for operations can be in
103
+ * PNG, JPEG, PDF, or TIFF format.</p>
104
+ *
105
+ *
49
106
  */
50
107
  export declare class StartDocumentAnalysisCommand extends $Command<StartDocumentAnalysisCommandInput, StartDocumentAnalysisCommandOutput, TextractClientResolvedConfig> {
51
108
  readonly input: StartDocumentAnalysisCommandInput;
@@ -45,6 +45,63 @@ export interface StartDocumentTextDetectionCommandOutput extends StartDocumentTe
45
45
  * @see {@link StartDocumentTextDetectionCommandOutput} for command's `response` shape.
46
46
  * @see {@link TextractClientResolvedConfig | config} for TextractClient's `config` shape.
47
47
  *
48
+ * @throws {@link AccessDeniedException} (client fault)
49
+ * <p>You aren't authorized to perform the action. Use the Amazon Resource Name (ARN)
50
+ * of an authorized user or IAM role to perform the operation.</p>
51
+ *
52
+ * @throws {@link BadDocumentException} (client fault)
53
+ * <p>Amazon Textract isn't able to read the document. For more information on the document
54
+ * limits in Amazon Textract, see <a>limits</a>.</p>
55
+ *
56
+ * @throws {@link DocumentTooLargeException} (client fault)
57
+ * <p>The document can't be processed because it's too large. The maximum document size for
58
+ * synchronous operations 10 MB. The maximum document size for asynchronous operations is 500
59
+ * MB for PDF files.</p>
60
+ *
61
+ * @throws {@link IdempotentParameterMismatchException} (client fault)
62
+ * <p>A <code>ClientRequestToken</code> input parameter was reused with an operation, but at
63
+ * least one of the other input parameters is different from the previous call to the
64
+ * operation. </p>
65
+ *
66
+ * @throws {@link InternalServerError} (server fault)
67
+ * <p>Amazon Textract experienced a service issue. Try your call again.</p>
68
+ *
69
+ * @throws {@link InvalidKMSKeyException} (client fault)
70
+ * <p> Indicates you do not have decrypt permissions with the KMS key entered, or the KMS key
71
+ * was entered incorrectly. </p>
72
+ *
73
+ * @throws {@link InvalidParameterException} (client fault)
74
+ * <p>An input parameter violated a constraint. For example, in synchronous operations,
75
+ * an <code>InvalidParameterException</code> exception occurs
76
+ * when neither of the <code>S3Object</code> or <code>Bytes</code> values are supplied in the <code>Document</code>
77
+ * request parameter.
78
+ * Validate your parameter before calling the API operation again.</p>
79
+ *
80
+ * @throws {@link InvalidS3ObjectException} (client fault)
81
+ * <p>Amazon Textract is unable to access the S3 object that's specified in the request.
82
+ * for more information, <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html">Configure Access to Amazon S3</a>
83
+ * For troubleshooting information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/troubleshooting.html">Troubleshooting Amazon S3</a>
84
+ * </p>
85
+ *
86
+ * @throws {@link LimitExceededException} (client fault)
87
+ * <p>An Amazon Textract service limit was exceeded. For example, if you start too many
88
+ * asynchronous jobs concurrently, calls to start operations
89
+ * (<code>StartDocumentTextDetection</code>, for example) raise a LimitExceededException
90
+ * exception (HTTP status code: 400) until the number of concurrently running jobs is below
91
+ * the Amazon Textract service limit. </p>
92
+ *
93
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
94
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this limit,
95
+ * contact Amazon Textract.</p>
96
+ *
97
+ * @throws {@link ThrottlingException} (server fault)
98
+ * <p>Amazon Textract is temporarily unable to process the request. Try your call again.</p>
99
+ *
100
+ * @throws {@link UnsupportedDocumentException} (client fault)
101
+ * <p>The format of the input document isn't supported. Documents for operations can be in
102
+ * PNG, JPEG, PDF, or TIFF format.</p>
103
+ *
104
+ *
48
105
  */
49
106
  export declare class StartDocumentTextDetectionCommand extends $Command<StartDocumentTextDetectionCommandInput, StartDocumentTextDetectionCommandOutput, TextractClientResolvedConfig> {
50
107
  readonly input: StartDocumentTextDetectionCommandInput;
@@ -44,6 +44,63 @@ export interface StartExpenseAnalysisCommandOutput extends StartExpenseAnalysisR
44
44
  * @see {@link StartExpenseAnalysisCommandOutput} for command's `response` shape.
45
45
  * @see {@link TextractClientResolvedConfig | config} for TextractClient's `config` shape.
46
46
  *
47
+ * @throws {@link AccessDeniedException} (client fault)
48
+ * <p>You aren't authorized to perform the action. Use the Amazon Resource Name (ARN)
49
+ * of an authorized user or IAM role to perform the operation.</p>
50
+ *
51
+ * @throws {@link BadDocumentException} (client fault)
52
+ * <p>Amazon Textract isn't able to read the document. For more information on the document
53
+ * limits in Amazon Textract, see <a>limits</a>.</p>
54
+ *
55
+ * @throws {@link DocumentTooLargeException} (client fault)
56
+ * <p>The document can't be processed because it's too large. The maximum document size for
57
+ * synchronous operations 10 MB. The maximum document size for asynchronous operations is 500
58
+ * MB for PDF files.</p>
59
+ *
60
+ * @throws {@link IdempotentParameterMismatchException} (client fault)
61
+ * <p>A <code>ClientRequestToken</code> input parameter was reused with an operation, but at
62
+ * least one of the other input parameters is different from the previous call to the
63
+ * operation. </p>
64
+ *
65
+ * @throws {@link InternalServerError} (server fault)
66
+ * <p>Amazon Textract experienced a service issue. Try your call again.</p>
67
+ *
68
+ * @throws {@link InvalidKMSKeyException} (client fault)
69
+ * <p> Indicates you do not have decrypt permissions with the KMS key entered, or the KMS key
70
+ * was entered incorrectly. </p>
71
+ *
72
+ * @throws {@link InvalidParameterException} (client fault)
73
+ * <p>An input parameter violated a constraint. For example, in synchronous operations,
74
+ * an <code>InvalidParameterException</code> exception occurs
75
+ * when neither of the <code>S3Object</code> or <code>Bytes</code> values are supplied in the <code>Document</code>
76
+ * request parameter.
77
+ * Validate your parameter before calling the API operation again.</p>
78
+ *
79
+ * @throws {@link InvalidS3ObjectException} (client fault)
80
+ * <p>Amazon Textract is unable to access the S3 object that's specified in the request.
81
+ * for more information, <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html">Configure Access to Amazon S3</a>
82
+ * For troubleshooting information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/troubleshooting.html">Troubleshooting Amazon S3</a>
83
+ * </p>
84
+ *
85
+ * @throws {@link LimitExceededException} (client fault)
86
+ * <p>An Amazon Textract service limit was exceeded. For example, if you start too many
87
+ * asynchronous jobs concurrently, calls to start operations
88
+ * (<code>StartDocumentTextDetection</code>, for example) raise a LimitExceededException
89
+ * exception (HTTP status code: 400) until the number of concurrently running jobs is below
90
+ * the Amazon Textract service limit. </p>
91
+ *
92
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
93
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this limit,
94
+ * contact Amazon Textract.</p>
95
+ *
96
+ * @throws {@link ThrottlingException} (server fault)
97
+ * <p>Amazon Textract is temporarily unable to process the request. Try your call again.</p>
98
+ *
99
+ * @throws {@link UnsupportedDocumentException} (client fault)
100
+ * <p>The format of the input document isn't supported. Documents for operations can be in
101
+ * PNG, JPEG, PDF, or TIFF format.</p>
102
+ *
103
+ *
47
104
  */
48
105
  export declare class StartExpenseAnalysisCommand extends $Command<StartExpenseAnalysisCommandInput, StartExpenseAnalysisCommandOutput, TextractClientResolvedConfig> {
49
106
  readonly input: StartExpenseAnalysisCommandInput;
@@ -59,6 +59,63 @@ export interface StartLendingAnalysisCommandOutput extends StartLendingAnalysisR
59
59
  * @see {@link StartLendingAnalysisCommandOutput} for command's `response` shape.
60
60
  * @see {@link TextractClientResolvedConfig | config} for TextractClient's `config` shape.
61
61
  *
62
+ * @throws {@link AccessDeniedException} (client fault)
63
+ * <p>You aren't authorized to perform the action. Use the Amazon Resource Name (ARN)
64
+ * of an authorized user or IAM role to perform the operation.</p>
65
+ *
66
+ * @throws {@link BadDocumentException} (client fault)
67
+ * <p>Amazon Textract isn't able to read the document. For more information on the document
68
+ * limits in Amazon Textract, see <a>limits</a>.</p>
69
+ *
70
+ * @throws {@link DocumentTooLargeException} (client fault)
71
+ * <p>The document can't be processed because it's too large. The maximum document size for
72
+ * synchronous operations 10 MB. The maximum document size for asynchronous operations is 500
73
+ * MB for PDF files.</p>
74
+ *
75
+ * @throws {@link IdempotentParameterMismatchException} (client fault)
76
+ * <p>A <code>ClientRequestToken</code> input parameter was reused with an operation, but at
77
+ * least one of the other input parameters is different from the previous call to the
78
+ * operation. </p>
79
+ *
80
+ * @throws {@link InternalServerError} (server fault)
81
+ * <p>Amazon Textract experienced a service issue. Try your call again.</p>
82
+ *
83
+ * @throws {@link InvalidKMSKeyException} (client fault)
84
+ * <p> Indicates you do not have decrypt permissions with the KMS key entered, or the KMS key
85
+ * was entered incorrectly. </p>
86
+ *
87
+ * @throws {@link InvalidParameterException} (client fault)
88
+ * <p>An input parameter violated a constraint. For example, in synchronous operations,
89
+ * an <code>InvalidParameterException</code> exception occurs
90
+ * when neither of the <code>S3Object</code> or <code>Bytes</code> values are supplied in the <code>Document</code>
91
+ * request parameter.
92
+ * Validate your parameter before calling the API operation again.</p>
93
+ *
94
+ * @throws {@link InvalidS3ObjectException} (client fault)
95
+ * <p>Amazon Textract is unable to access the S3 object that's specified in the request.
96
+ * for more information, <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html">Configure Access to Amazon S3</a>
97
+ * For troubleshooting information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/troubleshooting.html">Troubleshooting Amazon S3</a>
98
+ * </p>
99
+ *
100
+ * @throws {@link LimitExceededException} (client fault)
101
+ * <p>An Amazon Textract service limit was exceeded. For example, if you start too many
102
+ * asynchronous jobs concurrently, calls to start operations
103
+ * (<code>StartDocumentTextDetection</code>, for example) raise a LimitExceededException
104
+ * exception (HTTP status code: 400) until the number of concurrently running jobs is below
105
+ * the Amazon Textract service limit. </p>
106
+ *
107
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
108
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this limit,
109
+ * contact Amazon Textract.</p>
110
+ *
111
+ * @throws {@link ThrottlingException} (server fault)
112
+ * <p>Amazon Textract is temporarily unable to process the request. Try your call again.</p>
113
+ *
114
+ * @throws {@link UnsupportedDocumentException} (client fault)
115
+ * <p>The format of the input document isn't supported. Documents for operations can be in
116
+ * PNG, JPEG, PDF, or TIFF format.</p>
117
+ *
118
+ *
62
119
  */
63
120
  export declare class StartLendingAnalysisCommand extends $Command<StartLendingAnalysisCommandInput, StartLendingAnalysisCommandOutput, TextractClientResolvedConfig> {
64
121
  readonly input: StartLendingAnalysisCommandInput;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-textract",
3
3
  "description": "AWS SDK for JavaScript Textract Client for Node.js, Browser and React Native",
4
- "version": "3.288.0",
4
+ "version": "3.290.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,37 +20,37 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.288.0",
24
- "@aws-sdk/config-resolver": "3.287.0",
25
- "@aws-sdk/credential-provider-node": "3.288.0",
26
- "@aws-sdk/fetch-http-handler": "3.282.0",
27
- "@aws-sdk/hash-node": "3.272.0",
28
- "@aws-sdk/invalid-dependency": "3.272.0",
29
- "@aws-sdk/middleware-content-length": "3.282.0",
30
- "@aws-sdk/middleware-endpoint": "3.282.0",
31
- "@aws-sdk/middleware-host-header": "3.282.0",
32
- "@aws-sdk/middleware-logger": "3.288.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.282.0",
34
- "@aws-sdk/middleware-retry": "3.287.0",
35
- "@aws-sdk/middleware-serde": "3.272.0",
36
- "@aws-sdk/middleware-signing": "3.282.0",
37
- "@aws-sdk/middleware-stack": "3.272.0",
38
- "@aws-sdk/middleware-user-agent": "3.282.0",
39
- "@aws-sdk/node-config-provider": "3.287.0",
40
- "@aws-sdk/node-http-handler": "3.282.0",
41
- "@aws-sdk/protocol-http": "3.282.0",
42
- "@aws-sdk/smithy-client": "3.279.0",
43
- "@aws-sdk/types": "3.272.0",
44
- "@aws-sdk/url-parser": "3.272.0",
23
+ "@aws-sdk/client-sts": "3.290.0",
24
+ "@aws-sdk/config-resolver": "3.290.0",
25
+ "@aws-sdk/credential-provider-node": "3.290.0",
26
+ "@aws-sdk/fetch-http-handler": "3.290.0",
27
+ "@aws-sdk/hash-node": "3.290.0",
28
+ "@aws-sdk/invalid-dependency": "3.290.0",
29
+ "@aws-sdk/middleware-content-length": "3.290.0",
30
+ "@aws-sdk/middleware-endpoint": "3.290.0",
31
+ "@aws-sdk/middleware-host-header": "3.290.0",
32
+ "@aws-sdk/middleware-logger": "3.290.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.290.0",
34
+ "@aws-sdk/middleware-retry": "3.290.0",
35
+ "@aws-sdk/middleware-serde": "3.290.0",
36
+ "@aws-sdk/middleware-signing": "3.290.0",
37
+ "@aws-sdk/middleware-stack": "3.290.0",
38
+ "@aws-sdk/middleware-user-agent": "3.290.0",
39
+ "@aws-sdk/node-config-provider": "3.290.0",
40
+ "@aws-sdk/node-http-handler": "3.290.0",
41
+ "@aws-sdk/protocol-http": "3.290.0",
42
+ "@aws-sdk/smithy-client": "3.290.0",
43
+ "@aws-sdk/types": "3.290.0",
44
+ "@aws-sdk/url-parser": "3.290.0",
45
45
  "@aws-sdk/util-base64": "3.208.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.279.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.287.0",
50
- "@aws-sdk/util-endpoints": "3.272.0",
51
- "@aws-sdk/util-retry": "3.272.0",
52
- "@aws-sdk/util-user-agent-browser": "3.282.0",
53
- "@aws-sdk/util-user-agent-node": "3.287.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.290.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.290.0",
50
+ "@aws-sdk/util-endpoints": "3.290.0",
51
+ "@aws-sdk/util-retry": "3.290.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.290.0",
53
+ "@aws-sdk/util-user-agent-node": "3.290.0",
54
54
  "@aws-sdk/util-utf8": "3.254.0",
55
55
  "tslib": "^2.3.1"
56
56
  },