Struct aws_sdk_comprehend::model::ErrorsListItem
source · #[non_exhaustive]pub struct ErrorsListItem { /* private fields */ }Expand description
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.
Implementations§
source§impl ErrorsListItem
impl ErrorsListItem
sourcepub fn error_code(&self) -> Option<&PageBasedErrorCode>
pub fn error_code(&self) -> Option<&PageBasedErrorCode>
Error code for the cause of the error.
sourcepub fn error_message(&self) -> Option<&str>
pub fn error_message(&self) -> Option<&str>
Text message explaining the reason for the error.
source§impl ErrorsListItem
impl ErrorsListItem
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ErrorsListItem.
Trait Implementations§
source§impl Clone for ErrorsListItem
impl Clone for ErrorsListItem
source§fn clone(&self) -> ErrorsListItem
fn clone(&self) -> ErrorsListItem
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ErrorsListItem
impl Debug for ErrorsListItem
source§impl PartialEq<ErrorsListItem> for ErrorsListItem
impl PartialEq<ErrorsListItem> for ErrorsListItem
source§fn eq(&self, other: &ErrorsListItem) -> bool
fn eq(&self, other: &ErrorsListItem) -> bool
self and other values to be equal, and is used
by ==.