Class: Aws::Comprehend::Types::InvalidRequestException

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

Overview

The request is invalid.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#detailTypes::InvalidRequestDetail

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.


5017
5018
5019
5020
5021
5022
5023
# File 'lib/aws-sdk-comprehend/types.rb', line 5017

class InvalidRequestException < Struct.new(
  :message,
  :reason,
  :detail)
  SENSITIVE = []
  include Aws::Structure
end

#messageString

Returns:

  • (String)

5017
5018
5019
5020
5021
5022
5023
# File 'lib/aws-sdk-comprehend/types.rb', line 5017

class InvalidRequestException < Struct.new(
  :message,
  :reason,
  :detail)
  SENSITIVE = []
  include Aws::Structure
end

#reasonString

Returns:

  • (String)

5017
5018
5019
5020
5021
5022
5023
# File 'lib/aws-sdk-comprehend/types.rb', line 5017

class InvalidRequestException < Struct.new(
  :message,
  :reason,
  :detail)
  SENSITIVE = []
  include Aws::Structure
end