Class: Aws::Comprehend::Types::ErrorsListItem

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-comprehend/types.rb

Overview

Text extraction encountered one or more page-level errors in the input document.

The ‘ErrorCode` contains one of the following values:

  • TEXTRACT_BAD_PAGE - Amazon Textract cannot read the page. For more information about page limits in Amazon Textract, see [ Page Quotas in Amazon Textract].

  • TEXTRACT_PROVISIONED_THROUGHPUT_EXCEEDED - The number of requests exceeded your throughput limit. For more information about throughput quotas in Amazon Textract, see [ Default quotas in Amazon Textract].

  • PAGE_CHARACTERS_EXCEEDED - Too many text characters on the page (10,000 characters maximum).

  • PAGE_SIZE_EXCEEDED - The maximum page size is 10 MB.

  • INTERNAL_SERVER_ERROR - The request encountered a service issue. Try the API request again.

[1]: docs.aws.amazon.com/textract/latest/dg/limits-document.html [2]: docs.aws.amazon.com/textract/latest/dg/limits-quotas-explained.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#error_codeString

Error code for the cause of the error.

Returns:

  • (String)


4529
4530
4531
4532
4533
4534
4535
# File 'lib/aws-sdk-comprehend/types.rb', line 4529

class ErrorsListItem < Struct.new(
  :page,
  :error_code,
  :error_message)
  SENSITIVE = []
  include Aws::Structure
end

#error_messageString

Text message explaining the reason for the error.

Returns:

  • (String)


4529
4530
4531
4532
4533
4534
4535
# File 'lib/aws-sdk-comprehend/types.rb', line 4529

class ErrorsListItem < Struct.new(
  :page,
  :error_code,
  :error_message)
  SENSITIVE = []
  include Aws::Structure
end

#pageInteger

Page number where the error occurred.

Returns:

  • (Integer)


4529
4530
4531
4532
4533
4534
4535
# File 'lib/aws-sdk-comprehend/types.rb', line 4529

class ErrorsListItem < Struct.new(
  :page,
  :error_code,
  :error_message)
  SENSITIVE = []
  include Aws::Structure
end