Class: Aws::Comprehend::Types::InvalidRequestDetail

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

Overview

Provides additional detail about why the request failed:

  • Document size is too large - Check the size of your file and resubmit the request.

  • Document type is not supported - Check the file type and resubmit the request.

  • Too many pages in the document - Check the number of pages in your file and resubmit the request.

  • Access denied to Amazon Textract - Verify that your account has permission to use Amazon Textract API operations and resubmit the request.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#reasonString

Reason code is ‘INVALID_DOCUMENT`.

Returns:

  • (String)


5066
5067
5068
5069
5070
# File 'lib/aws-sdk-comprehend/types.rb', line 5066

class InvalidRequestDetail < Struct.new(
  :reason)
  SENSITIVE = []
  include Aws::Structure
end